//创建 store 实例对象
import {action, observable} from 'mobx-miniprogram'

export const store = observable({
  activeTabBarIndex : 0,
  updateActiveTabBarIndex:action(function(index){
    this.activeTabBarIndex = index
  })
})